package com.cn.minio.utils;

import lombok.AllArgsConstructor;
import lombok.Getter;


/**
 * @Description :
 * @Author : Bruce Lee
 * @CreateTime : 2024/6/21
 */


@Getter
@AllArgsConstructor
public enum ResponseCodeEnums {

    SUCCESS(200, "success"),
    FAIL(500, "failed"),
    HTTP_STATUS_200(200, "ok"),
    HTTP_STATUS_400(400, "request error"),
    HTTP_STATUS_401(401, "no authentication"),
    HTTP_STATUS_403(403, "no authorities"),
    HTTP_STATUS_500(500, "server error");

    private final int code;
    private final String message;


}
